package interfaces.rechercheiti;

import java.awt.Color;

import javax.swing.*;

public class LabelNumero extends JLabel {
	public LabelNumero() {
	    setFont(new java.awt.Font("Tahoma", 1, 11));
	    setForeground(new Color(153, 0, 0));
	    setText("n");
	    setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
	}
	public void setNumero (int n) {
		if (n > 0) {
			setText(""+n);
		}
		else {
			setText("  ");
		}
	}
}